#ifndef QUEENTABLE_H
#define QUEENTABLE_H

#include <QMainWindow>
#include "queenview.h"
#include <QGenericMatrix>

namespace Ui {
    class QueenTable;
}

class QueenTable : public QMainWindow
{
    Q_OBJECT

public:
    explicit QueenTable(QWidget *parent = 0);
    ~QueenTable();
    void updateBoard(QGenericMatrix<8,8,int> & matrix);

private:

	void drawBoard();

    Ui::QueenTable *ui;
    QueenView* view;
protected:
	void resizeEvent ( QResizeEvent * event );
};

#endif // QUEENTABLE_H
